
import Vue from 'vue'
import Vuex from 'vuex'
import createLogger from 'vuex/dist/logger'
import mutations from './mutations'
import actions from './actions'

const state = {
  carList: [], // 车辆信息
}

Vue.use(Vuex)
export default new Vuex.Store({
  plugins: process.env.NODE_ENV !== 'production' ? [createLogger()] : [],
  state,
  mutations,
  actions
})
